package com.woniuxy.threeproject.end_water_project_user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文章详情表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wn_details")
public class Details implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "details_id", type = IdType.AUTO)
    private Integer detailsId;

    /**
     * 文章标题
     */
    private String detailsName;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 文章创建时间
     */
//    @TableField("starTime")
    private Date starTime;

    /**
     * 文章分类id
     */
    private Integer classifyId;

    /**
     * 状态 0 删除，1是展示
     */
    private Integer state;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录新增时间
     */
    private Date rawUpdateTime;


}
